﻿@page
@model RegisterModel
@{
    ViewData["Title"] = "注册";
}

<div class="container mt-5">
    <div class="row justify-content-center">
        <div class="col-md-6">
            <div class="card">
                <div class="card-header">
                    <h2>用户注册</h2>
                </div>
                <div class="card-body">
                    <form method="post">
                        <div class="mb-3">
                            <label asp-for="Input.Email" class="form-label"></label>
                            <input asp-for="Input.Email" class="form-control" required />
                        </div>
                        <div class="mb-3">
                            <label asp-for="Input.Password" class="form-label"></label>
                            <input asp-for="Input.Password" class="form-control" required />
                        </div>
                        <div class="mb-3">
                            <label asp-for="Input.ConfirmPassword" class="form-label"></label>
                            <input asp-for="Input.ConfirmPassword" class="form-control" required />
                        </div>
                        <button type="submit" class="btn btn-primary">注册</button>
                        <a asp-page="Login" class="btn btn-outline-secondary ms-2">登录</a>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>